package com.qitmiaojie.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *
 * @TableName sys_user
 */
@TableName(value ="sys_user")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     *
     */
    private String UserName;

    /**
     *
     */
    private String Password;

    /**
     *
     */
    private String Avatar;

    /**
     *
     */
    private String Email;

    /**
     *
     */
    private String City;

    /**
     *
     */
    @TableField(fill = FieldFill.INSERT)
    private Date Created;

    /**
     *
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date Updated;

    /**
     *
     */
    private Date LastLogin;

    /**
     *
     */
    private Integer Statu;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
